# Maintainer:
pkgname=thunar-media-tags-plugin
pkgver=0.4.0
pkgrel=2
pkgdesc="Edit audio tags in thunar"
url="https://goodies.xfce.org/projects/thunar-plugins/thunar-media-tags-plugin"
arch="all"
license="GPL-2.0-only"
options="!check" # no test suite
makedepends="
	exo-dev
	intltool
	taglib-dev
	thunar-dev
	"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/thunar-plugins/thunar-media-tags-plugin/${pkgver%.*}/thunar-media-tags-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
1856bfdaf6489e974949e30231f835cf3d51ec693e36cec32e1735df630a5e1df609b63dc770ee85abf6925470159282e563843c6f0c948052eeafd4abf8062e  thunar-media-tags-plugin-0.4.0.tar.bz2
"
